import request from '../utils/request'

//登录
export function getLogin(data){
    return request.post('/backgroundLogin/login',data)
}
//获取所有角色
export function getRole(){
    return request.get('/backgroundLogin')
}